package com.mingdong.first.waiguan.hometheater;

public class DVDPlayer {

	private static DVDPlayer instence = null;
	private DVDPlayer(){
		
	}
	
	public static DVDPlayer  getInstence(){
		
		if(instence == null){
			instence =  new DVDPlayer();
		}
		return instence;		
	}
	
	public void on(){
		System.out.println("DVDPlayer on");
	}
	
	public void off(){
		System.out.println("DVDPlayer off");
	}
	
	public void play(){
		System.out.println("DVDPlayer play");
	}
	
	public void pause(){
		System.out.println("DVDPlayer pause");
	}
	public void setDvd(){
		System.out.println("DVDPlayer setDvd");
	}
	
}
